<template>
	<view class="container">
		<view id="loginPage">
			<div id="logo"></div>
			<p class="p1">记账本申请获取以下权限</p>
			<hr class="hr-solid">
			<p class="p2">获得你的公开信息（昵称、头像等）</p>
			<button id="loginBtn" type="success"	@click="jumpTally" >授权</button>
		</view>
		<view class="mask"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			jumpTally() {
				uni.navigateTo({
					url: "/pages/tally/tally"
				})
			}
		}
	}
</script>

<style>
	.container {
		display: flex;
		justify-content: center;
		align-items: center;
		height: 90vh;
	}

	#loginPage {
		height: 30%;
		max-height: 330px;
		min-height: 280px;
		width: 90%;
		background-color: white;
		border-radius: 2%;
		max-width: 350px;
	}

	#logo {
		width: 50px;
		height: 50px;
		margin: auto;
		margin-top: 6%;
		border-radius: 50%;
		background-color: aqua;

	}

	.p1 {
		text-align: center;
		font-family: Microsoft JhengHei;
		font-weight: bolder;
		font-size: 20px;
		margin-top: 8%;
	}

	.hr-solid {
		border: 0;
		width: 66%;
		margin: auto;
		margin-top: 5%;
		border-top: 1.5px solid #888888;
	}

	.p2 {
		text-align: center;
		font-family: Microsoft JhengHei;
		font-weight: bolder;
		font-size: 15px;
		margin-top: 5%;
		opacity: 0.6;
	}

	#loginBtn {
		color: white;
		background-color: rgb(24, 172, 24);
		font-size: 18px;
		width:96%;
		margin-top: 8%;
		font-family: Microsoft JhengHei;
	}

	.mask {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		right: 0;
		background: #000;
		opacity: 0.5;
		z-index: -1;
	}
</style>